﻿using System;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;

namespace CarDriverTests
{
    [TestClass]
    public class message_ut
    {
        const int msg_id = 1;

        [TestMethod]
        public void empty_message()
        {
            CarDriver.message msg = new CarDriver.message(msg_id, new byte[0]);
            Assert.AreEqual(0, msg.size());
            Assert.AreEqual(msg_id, msg.id);
        }
    }
}
